import type { App } from 'vue'
import { createPinia } from 'pinia'

const store = createPinia()

// 全局注册 store
export function setupStore(app: App<Element>) {
  app.use(store)
}

export * from './modules/user'
export * from './modules/counter'
export * from './modules/profileConfig'
export * from './modules/formatConfig'
export * from './modules/startExperiment'
export * from './modules/dataSourceMag'
export { store }
